<?php
if(!isset(Yii::app()->user->id)|| (isset(Yii::app()->user->id)&&Yii::app()->user->id!=15))
{
   // $this->redirect(Yii::app()->request->baseUrl);
}
?>
<h2>List Info News</h2>

<ul>
	<?php $i=1; foreach ($list_news as $new):?>
		<li style="font-size: 14px;padding: 3px;border-bottom: thin solid #ccc;width: 250px;">
			<?php 
				$url = Yii::app()->request->baseUrl;
				echo $i . '. <a style="text-decoration: none; color: blue;" href="'.$url.'/backend/admin/newsdetail/id/'. $new['id'] .'/">' . $new['title'] . '</a>';
				$i++;
			?>
		</li>
	<?php endforeach;?>
</ul>